#include "dialog.h"

MyDialog::MyDialog(wxWindow *parent)
	: wxDialog(parent, -1, _T("This is a Dialog."), wxDefaultPosition, wxSize(200,200)){
		_pInfoText = new wxStaticText(this, -1, "", wxPoint(5, 5), wxSize(100, 10), wxALIGN_CENTRE);
		_pOkButton = new wxButton(this, wxID_OK, "It\'s OK", wxPoint(45,40));
	}

//MyDialog::~MyDialog(){ }

void MyDialog::SetText(const wxString &text){
	_pInfoText->SetLabel(text);
}
